package com.wzd.imservice.service;

import com.wzd.commonutils.R;
import com.wzd.imservice.entity.GroupList;
import com.wzd.imservice.entity.Mine;

/**
 * @ProjectName: e_learning
 * @Package: com.wzd.imservice.service
 * @ClassName: GroupService
 * @Author: lofxve
 * @Description:
 * @Date: 2021/4/16 17:03
 * @Version: 1.0
 */
public interface GroupService {
    R saveGroup(GroupList groupList);

    GroupList getGroupById(String id);

    R addUserToGroup(Mine mineById, GroupList groupById);

    R deleteUserFromGroup(Mine mineById, GroupList groupById);

    R getGroupsByUserId(Mine mineById);

    boolean deleteGroup(String id);
}
